package com.bawei.es.service;

import com.bawei.common.core.domain.R;
import com.bawei.system.domain.vo.EsDocInsertVo;
import com.bawei.system.domain.vo.EsDocQueryVo;

import java.util.List;
import java.util.ArrayList;
import java.util.Map;

public interface EsDocService {
    R<Boolean> batchInsertDocs(List<EsDocInsertVo> esDocInsertVo);

    R<List<Map>>  queryDocs(EsDocQueryVo esDocInsertVo);

    R querySuggestions(String indexName,String keyWord,String suggestFiled);

    R<Boolean> batchDeleteDocs(ArrayList<String> id, String indexName);

    List<String> queryDocsIndices();
}
